package com.flower;

import com.sun.glass.ui.Application;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName GatewayApplication
 * @Description TODO
 * @Author 吃麻椒的花酱
 * @Date 2022/4/2 17:38
 * @Version 1.0
 */
@SpringBootApplication(exclude = {
        DataSourceAutoConfiguration.class  /*取消自动加载数据库配置*/
})
//@ComponentScan(basePackages = {"com.flower" })
@EnableDiscoveryClient
public class GatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApplication.class,args);
    }
}
